package com.ruoyi.system.mapper;

import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.ArchiveRecoverTask;
import com.ruoyi.system.domain.vo.ArchiveRecoverTaskVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * 归档恢复任务Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-16
 */
public interface ArchiveRecoverTaskMapper extends BaseMapperPlus<ArchiveRecoverTaskMapper, ArchiveRecoverTask, ArchiveRecoverTaskVo> {

    void updateStartInfo(@Param("id") Long id, @Param("msg") String msg);

    void updateFinishInfo(@Param("id") Long id, @Param("executeStatus") int executeStatus, @Param("msg") String msg);

    void executeRecover(@Param("sql") String sql);
}
